package com.yf.esms.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author 99698
 */
@Data
public class MultiConditionVo {

    @ApiModelProperty(value = "索引名称",required = true,example = "user")
    @NotEmpty(message = "索引名称不能为空！")
    private String indexName;
    @ApiModelProperty(value = "查询年龄1",required = true,example = "20")
    private Integer oneAge;
    @ApiModelProperty(value = "查询年龄2",required = true,example = "21")
    private Integer twoAge;
    @ApiModelProperty(value = "查询用户姓名1",required = true,example = "叶俊辰")
    private String userNameOne;
    @ApiModelProperty(value = "查询用户姓名2",required = true,example = "叶俊辰")
    private String userNameTwo;
}
